<#setting number_format="#.##"/>
<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title>房源清单</title>
    <style>
        body {
            font-family: SimSun, Arial Unicode MS, Lucida Sans Unicode, Arial, verdana, arial, helvetica, sans-serif;
        }

        .printContent {
            margin: 0px;
            padding: 0px;
            font-size: 18px;
        }

        .printContent p {
            margin: 0px;
            padding: 0px;
            text-align: left;
            text-indent: 2em;
            line-height: 22px;
            margin-left: 40px;
        }

        .printContent .printTitle {
            text-indent: 0em;
            font-size: 22px;
            text-align: center;
            font-weight: bold;
            height: 40px;
        }

        .printContent .printTitleItem {
            text-indent: 0em;
            font-size: 24px;
            height: 30px;
        }

        .paddingLeft {
            padding-left: 300px;
        }

        .table_border_top_hidden {
            border-top: hidden;
        }

        .table_border_bottom_hidden {
            border-bottom: hidden;
        }

        .border {
            text-align: center;
            padding-left: 10px;
            padding-right: 10px;
            border-bottom: 1px solid #000000;
        }

        .borderBlock500 {
            text-align: center;
            width: 500px;
            display: inline-block;
            border-bottom: 1px solid #000000;
        }

        @page {
            margin: 10mm 10mm 0mm 10mm;
        }

        .pageBreak {
            page-break-before: always
        }

        table {
            margin: auto;
            width: 95%;
            border-collapse: collapse;
            border-top: 2px solid #000000;
            border-left: 2px solid #000000;
            border-right: 1px solid #000000;
            border-bottom: 1px solid #000000;
            -fs-table-paginate: paginate;
            border-spacing: 0;

        }

        th, td {
            border-right: 1px solid #000000;
            border-bottom: 1px solid #000000;
            font-size: 14px;
            margin-left: 5px;
            height: 40px;
            page-break-inside: avoid;
            text-align: center;
        }
    </style>
</head>
<body>
<div class="printContent">
    <div class="printContent">
        <#list 1..2 as t>
            <div style="height: 520px;">
                <p class="printTitle" style="padding-top: 10px">
                    ${strUtils.getNotNullText(contract.zsProject.printTableName)}</p>
                <p class="printTitleItem">
                    &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;<span style="font-weight: bold">选房安置交房通知书</span>
                    <#if t = 1>&#160;&#160;<span style="font-size: 16px">（存根联）</span>
                    <#elseif t=2/>
                    &#160;&#160;<span style="font-size: 16px">（发放联）</span>
                </#if>
                </p>
                <p style="text-align:right;padding-right: 10px;margin-top: 10px">编号:<span class="border">${strUtils.getNotNullText(contract.contractCode)}</span></p>
                <p style="margin-top: 10px">被征收人：<span class="border">${strUtils.getNotNullText(contract.name)}</span></p>
                <p style="margin-top: 20px">
                    请您在收到本通知书之日起15日内，持本通知书、《房源清单》、本人身份证复印件（需提供原件验证）、《安置协议II》复印件（需提供原件验证）到所在小区的泉州和一物业服务管理有限公司项目管理处办理交接手续。物业管理服务费自您收到本通知书后的第31日起计算。
                </p>
                <p style="text-indent: 2em;margin-top: 16px">特此通知。</p>

                <p style="margin-top: 46px"><span style="display: inline-block;width: 360px;"></span>晋江市自然资源局</p>
                <p style="margin-top: 12px"><span style="display: inline-block;width: 360px;"></span>&#160;年&#160;&#160;月&#160;&#160;日</p>
                <#if t = 1><p style="text-indent: 0em">收件人（签章）：<br />签收日期：&#160;&#160;年&#160;&#160;月&#160;&#160;日</p></#if>
            </div>
            <#if t = 1><p style="margin-left: 4px;margin-bottom: -10px;margin-top: -50px;">…………………………………………………………………………………………………</p></#if>
        </#list>
        </div>
<div style="page-break-after: always;"></div>
    <div>
        <p class="printTitle">${strUtils.getNotNullText(contract.zsProject.printTableName)}</p>
        <p class="printTitle">房源清单</p>
        <p style="text-align:right;padding-right: 10px;margin-top: 10px">编号:<span class="border">${strUtils.getNotNullText(contract.contractCode)}</span></p>
        <table class="table_border_bottom_hidden" style="margin-top: 10px">
            <tr>
                <td style="width: 17%">被征收人</td>
                <td colspan="2" style="width: 51%">${strUtils.getNotNull(contract.name)}</td>
                <td style="width: 16%">选房号</td>
                <td style="width: 16%">${strUtils.getNotNull(contract.chooseHouseNum)}</td>
            </tr>
            <tr>
                <td>身份证号码</td>
                <td colspan="6">${strUtils.getNotNull(contract.idCard)}</td>
            </tr>
        </table>
        <table class="table_border_top_hidden">
            <tr>
                <td colspan="5">安置房明细</td>
            </tr>
            <tr>
                <td width="17%">房屋性质</td>
                <td width="17%">所在小区</td>
                <td width="17%">户号</td>
                <td width="17%">建筑面积</td>
                <td width="32%">产权人</td>
            </tr>
            <#if houseList??>
                <#list houseList as house>
                    <tr>
                        <td>住宅</td>
                        <td>${strUtils.getNotNull(house.azProject.projectName)}</td>
                        <td>${house.houseNumStr}</td>
                        <td>${bigUtils.getNotNullStr(house.buildArea)}</td>
                        <td>
                            <#assign buyHousePersonHouseList=(buyHousePersonHouseMap[house.id?c])! />
                            <#if buyHousePersonHouseList?? && buyHousePersonHouseList?size != 0>
                                    <#list buyHousePersonHouseList as buyHousePersonHouse>
                                        ${(buyHousePersonHouse.name)!}<br/>
                                    </#list>
                                <#else>
                                    ${(contract.name)!}
                            </#if>
                        </td>
                    </tr>
                </#list>
            </#if>
            <#if carLotList??>
                <#list carLotList as carLot>
                    <tr>
                        <td>车位</td>
                        <td>${strUtils.getNotNull(carLot.azProject.projectName)}</td>
                        <td>${carLot.houseNum}</td>
                        <td>${bigUtils.getNotNullStr(carLot.buildArea)}</td>
                        <td>
                            <#assign buyHousePersonCarLotList=(buyHousePersonCarLotMap[carLot.id?c])! />
                            <#if buyHousePersonCarLotList?? && buyHousePersonCarLotList?size != 0>
                                    <#list buyHousePersonCarLotList as buyHousePersonCarLot>
                                        ${(buyHousePersonCarLot.name)!}<br/>
                                    </#list>
                                <#else>
                                    ${(contract.name)!}
                            </#if>
                        </td>
                    </tr>
                </#list>
            </#if>
            <#if shopHouseList??>
                <#list shopHouseList as shopHouse>
                    <tr>
                        <td>店面</td>
                        <td>${strUtils.getNotNull(shopHouse.azProject.projectName)}</td>
                        <td>${shopHouse.houseNumStr}</td>
                        <td>${bigUtils.getNotNullStr(shopHouse.buildArea)}</td>
                        <td>
                            <#assign buyHousePersonShopHouseList=(buyHousePersonShopHouseMap[storageRoom.id?c])! />
                            <#if buyHousePersonShopHouseList?? && buyHousePersonShopHouseList?size != 0>
                                    <#list buyHousePersonShopHouseList as buyHousePersonShopHouse>
                                        ${(buyHousePersonShopHouse.name)!}<br/>
                                    </#list>
                                <#else>
                                    ${(contract.name)!}
                            </#if>
                        </td>
                    </tr>
                </#list>
            </#if>
        </table>
        <p style="text-align: right;margin-top: 50px">财务经办人员：&#160;&#160;&#160;&#160;&#160;&#160;&#160;</p>
        <p style="text-align: right;margin-top: 20px">年&#160;&#160;&#160;月&#160;&#160;&#160;日&#160;&#160;&#160;&#160;&#160;</p>
    </div>


</div>
</body>
</html>